package com.service.impl;

import com.dao.PhotoMapper;
import com.pojo.Photo;
import com.service.PhotoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public class PhotoServiceImpl implements PhotoService {

    @Autowired
    PhotoMapper photoMapper;

    @Override
    public List<Photo> selectPhoto() {
        return photoMapper.selectPhoto();
    }
}
